package com.zcy.gift.client.fallback;

import com.zcy.gift.client.GoodSkuClient;
import com.zcy.gift.util.AjaxResult;
import org.springframework.stereotype.Component;

/**
 * <p>
 *
 * </p>
 *
 * @author lucker
 * @date 2024/2/20 19:56
 */

@Component
public class GoodSkuFallBack implements GoodSkuClient {
    @Override
    public AjaxResult get(Long id) {
        return AjaxResult.me().setSuccess(false).setMessage("调用sku查询服务失败");
    }
}
